<p align="center"><strong>CH&#431;&#416;NG 4:</strong><br />
    <strong>THI&#7870;T K&#7870;</strong></p>
<p align="center">&nbsp;</p>
<p align="left"><strong>N&#7897;i dung:</strong></p>
<blockquote>
  <p align="left"><strong><a href="#4.1">S&#417; &#273;&#7891; tu&#7847;n t&#7921; - Sequence Diagram</a></strong></p>
  <p align="left"><strong><a href="#4.2">Thi&#7871;t k&#7871; c&#417; s&#7903; d&#7919; li&#7879;u</a></strong></p>
  <p align="left"><strong>  <a href="#4.3">Thi&#7871;t k&#7871; giao di&#7879;n</a></strong></p>
</blockquote>
<p align="left">&nbsp;</p>
<p><strong><A NAME = "4.1">4.1.</A> S&#417; &#273;&#7891; tu&#7847;n t&#7921; - Sequence Diagram</strong><br />
    <strong><a name = "4.1.1">4.1.1.</a> &#272;&#259;ng nh&#7853;p</strong></p>
<p align="center"><img src="Images/FIG04-01.jpg" width="869" height="408" /></p>
<p align="center">H&igrave;nh 4.1 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  &#272;&#259;ng nh&#7853;p</p>
<p><strong><a name = "4.1.2">4.1.2.</a> L&#7853;p h&oacute;a &#273;&#417;n </strong></p>
<p align="center"><img src="Images/FIG04-02.jpg" width="919" height="652" /></p>
<p align="center">H&igrave;nh 4.2 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  Ch&#7913;c n&#259;ng l&#7853;p h&oacute;a &#273;&#417;n.</p>
<p><strong><a name = "4.1.3">4.1.3</a>. Tra c&#7913;u th&#7921;c &#273;&#417;n</strong></p>
<p align="center"><img src="Images/FIG04-03.jpg" width="863" height="447" /></p>
<p align="center">H&igrave;nh 4.3 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  Tra c&#7913;u th&#7921;c &#273;&#417;n<br />
    </p>
<p align="left"><strong><a name = "4.1.4">4.1.4. </a>Tra c&#7913;u nh&acirc;n vi&ecirc;n</strong></p>
<p align="center">&nbsp;</p>
<p align="center"><img src="Images/FIG04-04.jpg" width="791" height="455" /></p>
<p align="center">H&igrave;nh 4.4 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  Tra c&#7913;u nh&acirc;n vi&ecirc;n</p>
<br clear="all" />
<p><strong><a name = "4.1.5">4.1.5.</a>Th&#7889;ng k&ecirc; doanh thu</strong></p>
<p align="center"><img src="Images/FIG04-05.jpg" width="863" height="434" /></p>
<p align="center">H&igrave;nh 4.5 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  Th&#7889;ng k&ecirc; doanh thu</p>
<p><strong><a name = "4.1.6">4.1.6.</a> Th&ecirc;m nh&acirc;n vi&ecirc;n</strong></p>
<p align="center"><img src="Images/FIG04-06.jpg" width="841" height="686" /></p>
<p align="center">H&igrave;nh 4.6 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  Th&ecirc;m nh&acirc;n vi&ecirc;n</p>
<p align="left"><br />
  <strong><a name = "4.1.7">4.1.7.</a> C&#7853;p nh&#7853;t nh&acirc;n vi&ecirc;n</strong></p>
<p align="center"><img src="Images/FIG04-07.jpg" width="795" height="480" /></p>
<p align="center">H&igrave;nh 4.7 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  C&#7853;p nh&#7853;t nh&acirc;n vi&ecirc;n</p>
<p><strong><a name = "4.1.8">4.1.8.</a> X&oacute;a nh&acirc;n vi&ecirc;n</strong></p>
<p align="center"><img src="Images/FIG04-08.jpg" width="811" height="409" /></p>
<p align="center">H&igrave;nh 4.8 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  X&oacute;a nh&acirc;n vi&ecirc;n</p>
<strong><br clear="all" />
</strong>
<p><strong><a name = "4.1.9">4.1.9.</a> Th&ecirc;m th&#7921;c &#273;&#417;n</strong></p>
<p align="center"><img src="Images/FIG04-09.jpg" width="824" height="757" /></p>
<p align="center">H&igrave;nh 4.9 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921; &ndash;  Th&ecirc;m th&#7921;c &#273;&#417;n</p>
<p><strong><a name = "4.1.10">4.1.10.</a> C&#7853;p nh&#7853;t th&#7921;c &#273;&#417;n</strong></p>
<p align="center"><img src="Images/FIG04-10.jpg" width="794" height="486" /></p>
<p align="center">H&igrave;nh 4.10 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921;  &ndash; C&#7853;p nh&#7853;t th&#7921;c &#273;&#417;n</p>
<p align="left"><br />
  <strong><a name = "4.1.11">4.1.11.</a> X&oacute;a th&#7921;c &#273;&#417;n</strong></p>
<p align="center"><img src="Images/FIG04-11.jpg" width="789" height="427" /></p>
<p align="center">H&igrave;nh 4.11 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921;  &ndash; X&oacute;a th&#7921;c &#273;&#417;n</p>
<p><strong><a name = "4.1.12">4.1.12.</a> Ph&acirc;n c&ocirc;ng nh&acirc;n  vi&ecirc;n</strong></p>
<p align="center"><img src="Images/FIG04-12.jpg" width="759" height="412" /></p>
<p align="center">H&igrave;nh 4.12 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921;  &ndash; Ph&acirc;n c&ocirc;ng nh&acirc;n vi&ecirc;n</p>
<strong><br clear="all" />
</strong>
<p><strong><a name = "4.1.13">4.1.13.</a> X&oacute;a ph&acirc;n c&ocirc;ng</strong></p>
<p align="center"><img src="Images/FIG04-13.jpg" width="838" height="409" /></p>
<p align="center">H&igrave;nh 4.13 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921;  &ndash; X&oacute;a ph&acirc;n c&ocirc;ng</p>
<p><strong><a name = "4.1.14">4.1.14. </a> In h&oacute;a &#273;&#417;n</strong></p>
<p align="center"><img src="Images/FIG04-14.jpg" width="847" height="444" /></p>
<p align="center">H&igrave;nh 4.14 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921;  &ndash; In h&oacute;a &#273;&#417;n</p>
<strong><br clear="all" />
</strong>
<p><strong><a name = "4.1.15">4.1.15.</a> X&oacute;a h&oacute;a &#273;&#417;n</strong></p>
<p align="center"><img src="Images/FIG04-15.jpg" width="757" height="401" /></p>
<p align="center">H&igrave;nh 4.15 &ndash; S&#417; &#273;&#7891; tu&#7847;n t&#7921;  &ndash; X&oacute;a h&oacute;a &#273;&#417;n</p>
<strong><br clear="all" />
</strong>
<p><strong><A NAME = "4.2">4.2. Thi&#7871;t k&#7871; c&#417; s&#7903; d&#7919; li&#7879;u</A></strong><br />
    <strong><a name = "4.2.1">4.2.1.</a> S&#417; &#273;&#7891; c&#417; s&#7903; d&#7919; li&#7879;u</strong></p>
<p align="center"><img src="Images/FIG04-16.JPG" width="669" height="565" /></p>
<p align="center">H&igrave;nh 4.16 &ndash; S&#417; &#273;&#7891; c&#417; s&#7903; d&#7919;  li&#7879;u quan h&#7879;</p>
<strong><br clear="all" />
</strong>
<p><strong><a name = "4.2.2">4.2.2.</a> M&ocirc; t&#7843; c&aacute;c b&#7843;ng d&#7919;  li&#7879;u</strong><br />
    <strong><a name = "4.2.2.1">4.2.2.1.</a> B&#7843;ng LoaiThucDon</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>MaLoai</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>Nhom</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>20</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" height="34" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>TenLoai</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>40</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.2">4.2.2.2</a>. B&#7843;ng ThucDon</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>MaThucDon</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>MaLoai</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ngo&#7841;i (tham chi&#7871;u    &#273;&#7871;n b&#7843;ng LoaiThucDon)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>TenThucDon</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>50</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>4</p></td>
    <td width="144" valign="top"><p>DonViTinh</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>30</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.3">4.2.2.3. </a>B&#7843;ng Gia</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>NgayADGia</p></td>
    <td width="108" valign="top"><p>Datetime</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>MaThucDon</p></td>
    <td width="108" valign="top"><p>&nbsp;</p></td>
    <td width="108" valign="top"><p>&nbsp;</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh, kh&oacute;a ngo&#7841;i    (tham chi&#7871;u &#273;&#7871;n b&#7843;ng ThucDon)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>Gia</p></td>
    <td width="108" valign="top"><p>Float</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.4">4.2.2.4. </a>B&#7843;ng NhanVien</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>MaNV</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>HoTen</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>40</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>NgaySinh</p></td>
    <td width="108" valign="top"><p>Datetime</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>4</p></td>
    <td width="144" valign="top"><p>TenDN</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>20</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>5</p></td>
    <td width="144" valign="top"><p>MatKhau</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>20</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>6</p></td>
    <td width="144" valign="top"><p>Quyen</p></td>
    <td width="108" valign="top"><p>Nvarchar</p></td>
    <td width="108" valign="top"><p>20</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.5">4.2.2.5.</a> B&#7843;ng Ban</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>MaSoBan</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>SoGhe</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.6">4.2.2.6.</a> B&#7843;ng PhanCong</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>NgayPC</p></td>
    <td width="108" valign="top"><p>Datetime</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>Ca</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>MaNV</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh, kh&oacute;a ngo&#7841;i    (tham chi&#7871;u &#273;&#7871;n b&#7843;ng NhanVien)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>4</p></td>
    <td width="144" valign="top"><p>MaSoBan</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh, kh&oacute;a ngo&#7841;i    (tham chi&#7871;u &#273;&#7871;n b&#7843;ng Ban)</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.7">4.2.2.7.</a> B&#7843;ng HoaDon</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>SoHD</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>ThoiGianLap</p></td>
    <td width="108" valign="top"><p>Datetime</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>MaSoBan</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ngo&#7841;i (tham chi&#7871;u    &#273;&#7871;n b&#7843;ng Ban)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>4</p></td>
    <td width="144" valign="top"><p>SoKhach</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>5</p></td>
    <td width="144" valign="top"><p>MaNVLap</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ngo&#7841;i (tham chi&#7871;u    &#273;&#7871;n b&#7843;ng NhanVien)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>6</p></td>
    <td width="144" valign="top"><p>MaNVTT</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ngo&#7841;i (tham chi&#7871;u    &#273;&#7871;n b&#7843;ng NhanVien)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>7</p></td>
    <td width="144" valign="top"><p>TongTien</p></td>
    <td width="108" valign="top"><p>Float</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
</table>
<p><strong><a name = "4.2.2.8">4.2.2.8.</a> B&#7843;ng ChiTietHD</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td width="48" valign="top"><br />
        <strong>STT</strong> </td>
    <td width="144" valign="top"><p><strong>T&ecirc;n C&#7897;t</strong></p></td>
    <td width="108" valign="top"><p><strong>Ki&#7875;u d&#7919; li&#7879;u</strong></p></td>
    <td width="108" valign="top"><p><strong>K&iacute;ch th&#432;&#7899;c</strong></p></td>
    <td width="192" valign="top"><p><strong>R&agrave;ng bu&#7897;c</strong></p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>1</p></td>
    <td width="144" valign="top"><p>SoHD</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh, kh&oacute;a ngo&#7841;i    (tham chi&#7871;u &#273;&#7871;n b&#7843;ng HoaDon)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>2</p></td>
    <td width="144" valign="top"><p>MaThucDon</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ch&iacute;nh, kh&oacute;a ngo&#7841;i    (tham chi&#7871;u &#273;&#7871;n b&#7843;ng HoaDon)</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>3</p></td>
    <td width="144" valign="top"><p>SoLuong</p></td>
    <td width="108" valign="top"><p>Int</p></td>
    <td width="108" valign="top"><p>4</p></td>
    <td width="192" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="48" valign="top"><p>4</p></td>
    <td width="144" valign="top"><p>DonGia</p></td>
    <td width="108" valign="top"><p>Float</p></td>
    <td width="108" valign="top"><p>8</p></td>
    <td width="192" valign="top"><p>Kh&oacute;a ngo&#7841;i (tham chi&#7871;u    &#273;&#7871;n b&#7843;ng Gia)</p></td>
  </tr>
</table>
<p><strong>&nbsp;</strong></p>
<strong><br clear="all" />
</strong>
<p><strong><A NAME = "4.3">4.3.</A> Thi&#7871;t k&#7871; giao di&#7879;n</strong><br />
    <strong>M&#7897;t s&#7889; giao di&#7879;n ch&#432;&#417;ng tr&igrave;nh:</strong></p>
<p align="center"><img src="Images/FIG04-17.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh  4.17 &ndash; M&agrave;n h&igrave;nh giao di&#7879;n g&#7885;i m&oacute;n</p>
<p align="left"><br />
  Ng&#432;&#7901;i d&ugrave;ng ch&#7885;n lo&#7841;i th&#7921;c  &#273;&#417;n t&#7915; combobox &ldquo;Ch&#7885;n lo&#7841;i th&#7921;c &#273;&#417;n&rdquo; danh s&aacute;ch c&aacute;c th&#7921;c &#273;&#417;n thu&#7897;c lo&#7841;i th&#7921;c &#273;&#417;n  n&agrave;y s&#7869; hi&#7879;n th&#7883; l&ecirc;n listview b&ecirc;n d&#432;&#7899;i, ng&#432;&#7901;i d&ugrave;ng ch&#7885;n th&#7921;c &#273;&#417;n mu&#7889;n g&#7885;i m&oacute;n,  ch&#7885;n s&#7889; l&#432;&#7907;ng th&#7921;c &#273;&#417;n, click button th&ecirc;m &#273;&#7875; th&ecirc;m th&#7921;c &#273;&#417;n v&agrave;o danh s&aacute;ch, l&agrave;m  t&#432;&#417;ng t&#7921; nh&#432; c&aacute;c th&#7921;c &#273;&#417;n kh&aacute;c, ng&#432;&#7901;i d&ugrave;ng c&oacute; th&#7875; ch&#7885;n ch&#7871; &#273;&#7897; nguy&#7871;n m&atilde;i khi c&oacute;  nhu c&#7847;u, nh&#7853;p s&#7889; kh&aacute;ch, sau c&ugrave;ng click button &ldquo;L&#432;u g&#7885;i m&oacute;n&rdquo; &#273;&#7875; l&#432;u g&#7885;i m&oacute;n.</p>
<p align="center"><img src="Images/FIG04-18.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh 4.18 &ndash; Giao di&#7879;n c&#7853;p  nh&#7853;t g&#7885;i m&oacute;n</p>
<p>N&#7871;u kh&aacute;ch h&agrave;ng c&oacute; y&ecirc;u c&#7847;u g&#7885;i th&ecirc;m m&oacute;n th&igrave; thu ng&acirc;n  ch&#7885;n qua th&#7867; c&#7853;p nh&#7853;t g&#7885;i m&oacute;n, ch&#7885;n b&agrave;n c&#7847;n g&#7885;i th&ecirc;m m&oacute;n danh s&aacute;ch c&aacute;c m&oacute;n &#273;&atilde;  g&#7885;i s&#7869; hi&#7879;n l&ecirc;n listview cho ph&eacute;p th&ecirc;m x&oacute;a m&oacute;n &#259;n t&ugrave;y &yacute;, click button &ldquo;C&#7853;p nh&#7853;t  g&#7885;i m&oacute;n&rdquo;&#273;&#7875; ho&agrave;n t&#7845;t c&ocirc;ng vi&#7879;c.</p>
<p align="center"><img src="Images/FIG04-19.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh 4.19 &ndash; Giao di&#7879;n l&#7853;p  h&oacute;a &#273;&#417;n </p>
<p>Khi kh&aacute;ch h&agrave;ng y&ecirc;u c&#7847;u thanh to&aacute;n thu ng&acirc;n s&#7869; l&#7853;p h&oacute;a  &#273;&#417;n b&#7857;ng c&aacute;ch ch&#7885;n th&#7867; &ldquo;L&#7853;p h&oacute;a &#273;&#417;n&rdquo; h&#7879; th&#7889;ng s&#7869; hi&#7875;n th&#7883; danh s&aacute;ch c&aacute;c b&agrave;n &#273;&atilde;  &#273;&#432;&#7907;c g&#7885;i m&oacute;n m&agrave; ch&#432;a thanh to&aacute;n, thu ng&acirc;n ch&#7885;n b&agrave;n c&#7847;n l&#7853;p h&oacute;a &#273;&#417;n, ch&#7885;n nh&acirc;n  vi&ecirc;n ti&#7871;p t&acirc;n ph&#7909;c v&#7909; b&agrave;n c&#7847;n l&#7853;p, t&iacute;nh ti&#7873;n cu&#7889;i c&ugrave;ng click button &ldquo;L&#7853;p h&oacute;a  &#273;&#417;n&rdquo; h&#7879; th&#7889;ng s&#7869; h&#7887;i c&oacute; mu&#7889;n in h&oacute;a &#273;&#417;n n&agrave;y ra gi&#7845;y hay kh&ocirc;ng n&#7871;u ch&#7845;p nh&#7853;n h&#7879;  th&#7889;ng s&#7869; g&#7885;i giao di&#7879;n in h&oacute;a &#273;&#417;n.</p>
<p align="center"><img src="Images/FIG04-20.jpg" width="862" height="698" /></p>
<p align="center">H&igrave;nh 4.20 &ndash; M&#7851;u h&oacute;a &#273;&#417;n.</p>
<p>Sau khi ng&#432;&#7901;i d&ugrave;ng y&ecirc;u c&#7847;u in h&oacute;a &#273;&#417;n th&igrave; ch&#432;&#417;ng tr&igrave;nh  s&#7869; g&#7885;i giao di&#7879;n l&#7853;p h&oacute;a &#273;&#417;n, ng&#432;&#7901;i d&ugrave;ng click button print &#273;&#7875; in h&oacute;a &#273;&#417;n ra  gi&#7845;y.</p>
<p align="center"><img src="Images/FIG04-21.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh 4.21 &ndash; Giao di&#7879;n qu&#7843;n  l&yacute; h&oacute;a &#273;&#417;n</p>
<p>Ng&#432;&#7901;i d&ugrave;ng c&oacute; th&#7875; xem danh s&aacute;ch c&aacute;c h&oacute;a &#273;&#417;n, ch&#7885;n v&agrave;o  h&oacute;a &#273;&#417;n &#273;&#7875; xem chi ti&#7871;t h&oacute;a &#273;&#417;n.<br />
  Ng&#432;&#7901;i qu&#7843;n tr&#7883; c&oacute; th&#7875; in h&oacute;a &#273;&#417;n, x&oacute;a h&oacute;a &#273;&#417;n.</p>
<p align="center"><img src="Images/FIG04-22.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh 4.22 &ndash; Giao di&#7879;n qu&#7843;n  l&yacute; nh&acirc;n vi&ecirc;n</p>
<p>Ng&#432;&#7901;i d&ugrave;ng c&oacute; th&#7875; xem danh s&aacute;ch c&aacute;c nh&acirc;n vi&ecirc;n trong  nh&agrave; h&agrave;ng, c&oacute; th&#7875; tra c&#7913;u theo h&#7885; t&ecirc;n nh&acirc;n vi&ecirc;n.<br />
  Ng&#432;&#7901;i qu&#7843;n tr&#7883; c&oacute; th&#7875; th&ecirc;m m&#7897;t nh&acirc;n vi&ecirc;n m&#7899;i.<br />
  Khi ng&#432;&#7901;i d&ugrave;ng ch&#7885;n m&#7897;t nh&acirc;n vi&ecirc;n th&ocirc;ng tin nh&acirc;n vi&ecirc;n  &#273;&oacute; s&#7869; &#273;&#432;&#7907;c hi&#7879;n th&#7883; l&ecirc;n b&ecirc;n tr&ecirc;n, n&#7871;u nh&acirc;n vi&ecirc;n &#273;&oacute; l&agrave; ti&#7871;p t&acirc;n th&#7883; textbox t&ecirc;n  &#273;&#259;ng nh&#7853;p v&agrave; m&#7853;t kh&#7849;u s&#7869; kh&ocirc;ng hi&#7875;n th&#7883; l&ecirc;n c&ograve;n n&#7871;u nh&acirc;n vi&ecirc;n &#273;&oacute; l&agrave; thu ng&acirc;n  hay qu&#7843;n tr&#7883; th&igrave; ph&#7847;n t&ecirc;n &#273;&#259;ng nh&#7853;p v&agrave; m&#7853;t kh&#7849;u s&#7869; hi&#7875;n th&#7883; l&ecirc;n, qu&#7843;n tr&#7883; vi&ecirc;n  c&oacute; th&#7875; thay &#273;&ocirc;i th&ocirc;ng tin v&agrave; click button &ldquo;S&#7917;a ND&rdquo; &#273;&#7875;  c&#7853;p nh&#7853;t th&ocirc;ng tin cho nh&acirc;n vi&ecirc;n &#273;&oacute;.<br />
  Qu&#7843;n tr&#7883; vi&ecirc;n c&oacute; th&#7875; x&oacute;a nh&acirc;n vi&ecirc;n kh&ocirc;ng &#273;&#432;&#7907;c ph&acirc;n  c&ocirc;ng b&#7845;t c&#7913; m&#7897;t b&agrave;n n&agrave;o &#7903; b&#7845;t c&#7913; ca n&agrave;o.</p>
<p align="center">&nbsp;</p>
<p align="center">H&igrave;nh 4.23 &ndash; Giao di&#7879;<img src="Images/FIG04-23.jpg" width="756" height="515" />n qu&#7843;n  l&yacute; ph&acirc;n c&ocirc;ng</p>
<p>Ng&#432;&#7901;i d&ugrave;ng c&oacute; th&#7875; xem nh&acirc;n vi&ecirc;n n&agrave;o &#273;ang &#273;&#432;&#7907;c ph&acirc;n  c&ocirc;ng v&agrave;o b&agrave;n n&agrave;o theo ca n&agrave;o v&agrave;o ng&agrave;y n&agrave;o.<br />
  Qu&#7843;n tr&#7883; vi&ecirc;n c&oacute; th&#7875; th&ecirc;m ph&acirc;n c&ocirc;ng cho nh&acirc;n vi&ecirc;n, x&oacute;a  ph&acirc;n c&ocirc;ng nh&acirc;n vi&ecirc;n.</p>
<p align="center"><img src="Images/FIG04-24.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh 4.24 &ndash; Giao di&#7879;n qu&#7843;n  l&yacute; th&#7921;c &#273;&#417;n</p>
<p>Ng&#432;&#7901;i d&ugrave;ng c&oacute; th&#7875; xem danh s&aacute;ch c&aacute;c th&#7921;c &#273;&#417;n, tra c&#7913;u  th&#7921;c &#273;&#417;n theo t&ecirc;n th&#7921;c &#273;&#417;n, tra c&#7913;u theo lo&#7841;i th&#7921;c &#273;&#417;n.<br />
  Qu&#7843;n tr&#7883; vi&ecirc;n c&oacute; th&#7875; th&ecirc;m m&#7899;i m&#7897;t th&#7921;c &#273;&#417;n.<br />
  Khi ch&#7885;n m&#7897;t th&#7921;c &#273;&#417;n th&igrave; th&ocirc;ng tin c&#7911;a th&#7921;c &#273;&#417;n &#273;&oacute;  &#273;&#432;&#7907;c t&#7843;i l&ecirc;n tr&ecirc;n qu&#7843;n tr&#7883; vi&ecirc;n c&oacute; th&#7875; thay &#273;&#7893;i th&ocirc;ng tin c&#7911;a th&#7921;c &#273;&#417;n, click  v&agrave;o button S&#7917;a &#273;&#7875; c&#7853;p nh&#7853;t th&ocirc;ng tin cho th&#7921;c &#273;&#417;n tr&ecirc;n.<br />
  Qu&#7843;n tr&#7883; vi&ecirc;n c&oacute; th&#7875; ch&#7885;n m&#7897;t th&#7921;c &#273;&#417;n v&agrave; click button  X&oacute;a &#273;&#7875; x&oacute;a th&#7921;c &#273;&#417;n n&#7871;u nh&#432; th&#7921;c &#273;&#417;n &#273;&oacute; kh&ocirc;ng c&oacute; trong h&oacute;a &#273;&#417;n n&agrave;o.</p>
<p align="center"><img src="Images/FIG04-25.jpg" width="756" height="515" /></p>
<p align="center">H&igrave;nh 4.25 &ndash; Giao di&#7879;n qu&#7843;n  l&yacute; th&#7889;ng k&ecirc; doanh thu<strong> </strong></p>
<p>Ch&#7913;c n&#259;ng th&ocirc;ng k&ecirc; cho ph&eacute;p ng&#432;&#7901;i d&ugrave;ng th&ocirc;ng k&ecirc; t&#7893;ng  doanh thu, t&#7893;ng kh&aacute;ch &#273;&#7871;n, th&#7913;c &#259;n &#273;&#432;&#7907;c b&aacute;n nh&igrave;u nh&acirc;t, n&#432;&#7899;c u&#7889;ng &#273;&#432;&#7907;c b&aacute;n nh&igrave;u  nh&#7845;t theo ng&agrave;y, th&aacute;ng n&#259;m, kho&#7843;ng ng&agrave;y.<br />
  Th&#7889;ng k&ecirc; theo ng&agrave;y: ng&#432;&#7901;i d&ugrave;ng ch&#7885;n ng&agrave;y c&#7847;n th&#7889;ng k&ecirc;  v&agrave; click button &ldquo;Th&#7889;ng k&ecirc; theo ng&agrave;y&rdquo;.<br />
  Th&#7889;ng k&ecirc; theo th&aacute;ng n&#259;m: ng&#432;&#7901;i d&ugrave;ng ch&#7885;n th&aacute;ng, nh&#7853;p  n&#259;m c&#7847;n th&#7889;ng k&ecirc; v&agrave; click button &ldquo;Th&#7889;ng k&ecirc; theo th&aacute;ng&rdquo;.<br />
  Th&#7889;ng k&ecirc; theo kho&#7843;ng ng&agrave;y: ng&#432;&#7901;i d&ugrave;ng ch&#7885;n ng&agrave;y b&#7855;t  &#273;&#7847;u v&agrave; ng&agrave;y k&#7871;t th&uacute;c v&agrave; click button &ldquo;Th&#7889;ng k&ecirc; theo kho&#7843;ng ng&agrave;y&rdquo;.</p>
<p align="center"><img src="Images/FIG04-26.jpg" width="763" height="504" /></p>
<div align="center">H&igrave;nh 4.26 &ndash; Giao di&#7879;n  gi&#7899;i thi&#7879;u ch&#432;&#417;ng tr&igrave;nh. </div>
<p>&nbsp;</p>
<p>&nbsp; </p>
<p align="left">&nbsp;</p>
<p>&nbsp;</p>
<p align="left">&nbsp;</p>
<p>&nbsp;</p>
